package com.huawei.appmarket.service.store.awk.node;

import android.content.Context;
import com.huawei.appmarket.service.store.awk.card.HorizontalSlidingCard;
import com.huawei.appmarket.service.store.awk.widget.horizon.BaseHorizonCard;
import o.cgz;
import o.cht$d;
import o.chy;

public class HorizontalSlidingNode extends HorizonHomeDlNodeV2 {
    public HorizontalSlidingNode(Context context) {
        super(context);
    }

    public void ˋ(chy o_chy) {
        int i = 0;
        while (i < ˊॱ()) {
            cgz ˊ = ˊ(i);
            if (ˊ instanceof HorizontalSlidingCard) {
                HorizontalSlidingCard horizontalSlidingCard = (HorizontalSlidingCard) ˊ;
                horizontalSlidingCard.ʻॱ().setOnClickListener(new cht$d(o_chy, horizontalSlidingCard));
                horizontalSlidingCard.ˊ(o_chy);
                i++;
            } else {
                return;
            }
        }
    }

    protected BaseHorizonCard ˎ(Context context) {
        return new HorizontalSlidingCard(context);
    }
}
